package com.wavefront.obj.elements;

import java.util.ArrayList;

public class Face {

	public static int GL_TRIANGLES = 1;
	public static int GL_QUADS = 2;

	private int type;
	
	private ArrayList<Integer> vertices;
	private ArrayList<Integer> normals;
	private ArrayList<Integer> uv;
	private String materialName;

	public Face(int type) {
		vertices = new ArrayList<Integer>();
		normals = new ArrayList<Integer>();
		uv = new ArrayList<Integer>();
		this.type = type;
	}
	public int getType() {
		return type;
	}
	public void setType(int type) {
		this.type = type;
	}
	public String getMaterialName() {
		return materialName;
	}
	public void setMaterialName(String materialName) {
		this.materialName = materialName;
	}
	public void createIndexedVertex(int indexG, int indexT, int indexN) {
	
		vertices.add(Integer.valueOf(indexG));
		uv.add(Integer.valueOf(indexT));
		normals.add(Integer.valueOf(indexN));
		
	}

}
